package com.it.modul;

/**
 * @Author 15593
 * @create 2021/12/30 17:58
 */

/**
 * 菜品类
 */

public class Dish {

    public int id;
    public String name;
    public Double price;

    public Dish() {
    }

    public Dish(int id, String name, Double price) {
        this.id = id;
        this.name = name;
        this.price = price;
    }

    @Override
    public String toString() {
        return "Dish{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
